package at.pervasive.mp3player.actions;

import java.awt.event.ActionEvent;

import at.pervasive.mp3player.Mp3Player;

public class ShuffleAction extends AbstractMp3PlayerAction
{

	private static final long serialVersionUID = -2036933113209151881L;

	public ShuffleAction(Mp3Player player)
	{
		super(player);

		putValue(LARGE_ICON_KEY, getIcon("shuffle.png"));
	}

	@Override
	public void actionPerformed(ActionEvent e)
	{
		player.shuffle();
	}

}
